package com.neusoft.tijiancms.service.impl;

import com.neusoft.tijiancms.mapper.SetmealdetailedMapper;
import com.neusoft.tijiancms.po.Setmealdetailed;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SetmealdetailedServiceImpl implements SetmealdetailedMapper {
    @Autowired
    private SetmealdetailedMapper setmealdetailedMapper;

    /**
     * 根据Id查询信息
     * @param smId
     * @return
     */
    @Override
    public List<Setmealdetailed> getSetmealdetailedById(Integer smId) {
        return setmealdetailedMapper.getSetmealdetailedById(smId);
    }

    /**
     * 根据ciId关联体检项表获取信息
     * @param setmealdetailed
     * @return
     */
    @Override
    public Setmealdetailed getSetmealdetailedData(Setmealdetailed setmealdetailed) {
        return setmealdetailedMapper.getSetmealdetailedData(setmealdetailed);
    }
}
